package com.sxkj.entity.mapper.sys;

import com.sxkj.entity.entity.sys.Menu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MenuMapper {

    int deleteByPrimaryKey(String id);

    int insert(Menu record);

    Menu selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Menu record);

    int updateByPrimaryKey(Menu record);

    List<Menu> getPermissionList(@Param("userId") String userId);

    List<Menu> selectMenuList();

    List<Menu> selectMenuChildList(String parentId);
}